package com.shixun.service;

import com.shixun.domain.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shixun.dto.StudentDto;
import com.shixun.dto.StudentOrPasswordDto;
import com.shixun.utils.R;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author shixun
 * @since 2023-06-10
 */
public interface StudentService extends IService<Student> {

    public R insertByFile(MultipartFile file);

    public R insertOne(StudentDto studentDto);

    public R updateStudent(StudentOrPasswordDto studentOrPasswordDto);

    public R pageStudent(int page, int size, String name, String profession);

    public void removes(List<Long> ids);
}
